package hsp.admin.app.base.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BasePO {

    @Schema(description = "创建人")
    @TableField(value = "creator", fill = FieldFill.INSERT)
    private String creator;

    @Schema(description = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @Schema(description = "修改人")
    @TableField(value = "modifier", fill = FieldFill.UPDATE)
    private String modifier;

    @Schema(description = "修改时间")
    @TableField(value = "modify_time", fill = FieldFill.UPDATE)
    private LocalDateTime modifyTime;

}
